package com.woniu.cms.goods.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-19
 */
@Getter
@Setter
  @TableName("cms_goods_settle")
@ApiModel(value = "GoodsSettle对象", description = "")
public class GoodsSettle implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("工程名称")
      private String projectName;

      @ApiModelProperty("甲方工程编号")
      private String aProjectCode;

      @ApiModelProperty("工程编号")
      private String projectCode;

      @ApiModelProperty("劳务队伍")
      private String constructTeam;

      @ApiModelProperty("项目经理")
      private String projectManager;

      @ApiModelProperty("生产中心")
      private String productionCenter;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("结算日期")
      private Date settleDate;

      @ApiModelProperty("项目施工费（本工程总费用）")
      private BigDecimal projectBuildCost;

      @ApiModelProperty("项目材料费（本工程总费用）")
      private BigDecimal projectGoodsCost;

      @ApiModelProperty("项目其它费（本工程总费用）")
      private BigDecimal projectOtherCost;

      @ApiModelProperty("本次结算总材料费")
      private BigDecimal goodsSettle;

      @ApiModelProperty("盈亏金额（审计结算金额（合计）-实际金额（合计））")
      private BigDecimal profitAndLoss;

      @ApiModelProperty("备注")
      private String remarks;

      @ApiModelProperty("结算单编号")
      private String settleCode;

      @ApiModelProperty("0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
      private Integer status;


}
